//
//  TableViewCell.m
//  11213手机
//
//  Created by student on 16/3/7.
//  Copyright © 2016年 niit. All rights reserved.
//

#import "TableViewCell.h"

@implementation TableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)setGoodsModel:(Model *)goodsModel
{
    self.IconImageView.image=[UIImage imageNamed:goodsModel.images];
    
   self.productNameLabel.text=goodsModel.productName;
    self.priceLabel.text=goodsModel.price;
    self.descriptioLabel.text=goodsModel.descriptio;
   self.saleCountLabel.text=goodsModel.saleCount;
   self.forsaleLabel.text=goodsModel.forsale;
   self.Label.text=@"约";

}

@end
